Silicon Labs /SiM3_NRND /SIM3L164_C /SPI_0 /CONFIG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CONFIG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DISABLED)RFRQIEN 0 (DISABLED)RFORIEN 0 (DISABLED)TFRQIEN 0 (DISABLED)TFORIEN 0 (DISABLED)SLVSELIEN 0 (DISABLED)MDFIEN 0 (DISABLED)URIEN 0 (DISABLED)SREIEN 0 (DISABLED)SPIEN 0 (DISABLED)MSTEN 0 (LOW)CLKPOL 0 (CENTER)CLKPHA 0 (LOW)NSSPOL 0 (MSB_FIRST)DDIRSEL 0 (3_WIRE_MASTER_SLAVE)NSSMD 0 (ONE)RFTH 0 (ONE)TFTH 0DSIZE0 (DISABLED)DMAEN 0 (RFIFOFL)RFIFOFL 0 (TFIFOFL)TFIFOFL 0 (INACTIVE)RESET

DMAEN=DISABLED, NSSPOL=LOW, NSSMD=3_WIRE_MASTER_SLAVE, RFRQIEN=DISABLED, RESET=INACTIVE, CLKPOL=LOW, SPIEN=DISABLED, TFORIEN=DISABLED, TFRQIEN=DISABLED, URIEN=DISABLED, DDIRSEL=MSB_FIRST, TFTH=ONE, SREIEN=DISABLED, RFTH=ONE, MSTEN=DISABLED, MDFIEN=DISABLED, SLVSELIEN=DISABLED, RFORIEN=DISABLED, CLKPHA=CENTER

Description

Module Configuration

Fields

RFRQIEN

Receive FIFO Read Request Interrupt Enable.

0 (DISABLED): Disable the receive FIFO request interrupt.

1 (ENABLED): Enable the receive FIFO request interrupt.

RFORIEN

Receive FIFO Overrun Interrupt Enable.

0 (DISABLED): Disable the receive FIFO overrun interrupt.

1 (ENABLED): Enable the receive FIFO overrun interrupt.

TFRQIEN

Transmit FIFO Write Request Interrupt Enable.

0 (DISABLED): Disable the transmit FIFO data request interrupt.

1 (ENABLED): Enable the transmit FIFO data request interrupt.

TFORIEN

Transmit FIFO Overrun Interrupt Enable.

0 (DISABLED): Disable the transmit FIFO overrun interrupt.

1 (ENABLED): Enable the transmit FIFO overrun interrupt.

SLVSELIEN

Slave Selected Interrupt Enable.

0 (DISABLED): Disable the slave select interrupt.

1 (ENABLED): Enable the slave select interrupt.

MDFIEN

Mode Fault Interrupt Enable.

0 (DISABLED): Disable the mode fault interrupt.

1 (ENABLED): Enable the mode fault interrupt.

URIEN

Underrun Interrupt Enable.

0 (DISABLED): Disable the underrun interrupt.

1 (ENABLED): Enable the underrun interrupt.

SREIEN

Shift Register Empty Interrupt Enable.

0 (DISABLED): Disable the shift register empty interrupt.

1 (ENABLED): Enable the shift register empty interrupt.

SPIEN

SPI Enable.

0 (DISABLED): Disable the SPI.

1 (ENABLED): Enable the SPI.

MSTEN

Master Mode Enable.

0 (DISABLED): Operate in slave mode.

1 (ENABLED): Operate in master mode.

CLKPOL

SPI Clock Polarity.

0 (LOW): The SCK line is low in the idle state.

1 (HIGH): The SCK line is high in the idle state.

CLKPHA

SPI Clock Phase.

0 (CENTER): The first edge of SCK is the sample edge (center of data bit).

1 (EDGE): The first edge of SCK is the shift edge (edge of data bit).

NSSPOL

Slave Select Polarity Select.

0 (LOW): NSS is active low.

1 (HIGH): NSS is active high.

DDIRSEL

Data Direction Select.

0 (MSB_FIRST): Data will be shifted MSB first.

1 (LSB_FIRST): Data will be shifted LSB first.

NSSMD

Slave Select Mode.

0 (3_WIRE_MASTER_SLAVE): 3-wire Slave or 3-wire Master.

1 (4_WIRE_SLAVE): 4-wire slave (NSS input). This setting can also be used for multi-master configurations.

2 (4_WIRE_MASTER_NSS_LOW): 4-wire master with NSS low (NSS output).

3 (4_WIRE_MASTER_NSS_HIGH): 4-wire master with NSS high (NSS output).

RFTH

Receive FIFO Threshold.

0 (ONE): A DMA / RFRQ request asserts when >= 1 FIFO slot is filled.

1 (TWO): A DMA / RFRQ request asserts when >= 2 FIFO slots are filled.

2 (FOUR): A DMA / RFRQ request asserts when >= 4 FIFO slots are filled.

3 (FULL): A DMA / RFRQ request asserts when all FIFO slots are filled.

TFTH

Transmit FIFO Threshold.

0 (ONE): A DMA / TFRQ request asserts when >= 1 FIFO slot is empty.

1 (TWO): A DMA / TFRQ request asserts when >= 2 FIFO slots are empty.

2 (FOUR): A DMA / TFRQ request asserts when >= 4 FIFO slots are empty.

3 (EMPTY): A DMA / TFRQ request asserts when all FIFO slots are empty.

DSIZE

Data Size.

DMAEN

DMA Enable.

0 (DISABLED): Disable DMA requests.

1 (ENABLED): Enable DMA requests according to the TFRQI and RFRQI flags.

RFIFOFL

Receive FIFO Flush.

1 (SET): Flush the receive FIFO.

TFIFOFL

Transmit FIFO Flush.

1 (SET): Flush the transmit FIFO.

RESET

Module Soft Reset.

0 (INACTIVE): SPI module is not in soft reset.

1 (ACTIVE): SPI module is in soft reset and some of the module bits cannot be accessed until this bit is cleared to 0 by hardware.

Links

()